package com.example.professorevaluation.bean

import android.os.Parcelable
import androidx.room.*
import androidx.room.ForeignKey.CASCADE
import kotlinx.android.parcel.Parcelize

/**
 *@author: wangtianxiong
 *@time: 2022/3/29
 *@describe:
 *
 */
@Parcelize
@Entity(tableName = "t_rate")
class RateBean() : Parcelable {
    @PrimaryKey(autoGenerate = true)
    var id: Int = 0
    @ColumnInfo(name = "content")
    var content: String? = null
    @ColumnInfo(name = "rate")
    var rate: Int = 0
    @ColumnInfo(name = "difficulty")
    var difficulty: Int = 0
    @ColumnInfo(name = "name")
    var name: String? = null
}